$_v_p_c_color: #444;
$_v_p_c_bg-color: #f3f4f9;

.vue-picture-cut{
  background-color: #fff;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  &._default{
    background-image: url("");
  }
  * {
    box-sizing: border-box;
  }
  &_main{
    padding: 0;
    position: absolute;
    //top: 0;
    //left: 0;
    //right: 0;
    //bottom: 120px;
    user-select: none;
    &-loading{
      width: 100%;
      height: 20px;
      line-height: 20px;
      font-size: 14px;
      text-align: center;
      color: #666;
      text-shadow: 0 0 1px #fff;
      margin-top: -10px;
      font-weight: 700;
      position: absolute;
      top: 50%;
      left: 0;
      z-index: 10;
    }
  }
  &_canvas{
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
  }
  &_mask{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
  }
  &_menu{
    &-box{
      background-color: $_v_p_c_bg-color;
      color: $_v_p_c_color;
      font-size: 16px;
      position: absolute;
      //height: 120px;
      //left: 0;
      //right: 0;
      //bottom: 0;
      z-index: 2000;
    }
  }
  // 默认菜单
  &_default-menu{
    width: 100%;
    height: 100%;
    padding: 12px 0 0 0;
    text-align: center;
    font-size: 0;
    position: absolute;
    bottom: 0;
    right: 0;
  }
  &_button{
    display: inline-block;
    vertical-align: middle;
    width: 50px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    font-size: 12px;
    border-radius: 2px;
    background-color: #fff;
    box-shadow: 0 0 3px 0 rgba(0,0,0,.3);
    cursor: pointer;
    &:active{
      background-color: #f4f5f6;
    }
  }
  &_slider{
    display: inline-block;
    vertical-align: middle;
    max-width: 300px;
    width: 60%;
    height: 16px;
    border-radius: 5px;
    padding: 6px 8px 0;
    margin-right: 16px;
    position: relative;
    input[type="range"] {
      width: 100%;
      padding: 0;
      margin: 0;
      position: absolute;
      top: -3px;
      left: 0;
      z-index:1000;
      cursor: pointer;
      opacity: 0;
      outline: none;
      -webkit-tap-highlight-color: transparent;
    }
    &-box{
      height: 4px;
      width: 100%;
      border-radius: 5px;
      background-color: rgba(255,255,255,.6);
      box-shadow: 0 0 3px 0 rgba(0,0,0,.3);
      position: relative;
      &-bar{
        height: 16px;
        width: 16px;
        border-radius: 50%;
        background-color: #fff;
        box-shadow: 0 0 3px 0 rgba(0,0,0,.8);
        margin-left: -8px;
        position: absolute;
        left: 0;
        top: -6px;
      }
      &-tips{
        background-color: rgba(255,255,255,.6);
        box-shadow: 0 0 3px 0 rgba(0,0,0,.3);
        color: #666;
        height: 20px;
        font-size: 12px;
        text-align: center;
        line-height: 20px;
        padding: 0 5px;
        border-radius: 3px;
        transform: translateX(-50%);
        position: absolute;
        bottom: 20px;
        left: 50%;
      }
    }
  }
}